package cloudEntity.vo.news;

import cn.idev.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @program: Smart School
 * @ClassName smartNewsExcelExportVO
 * @description:
 * @author: 陈智博
 * @create: 2025-05-06 19:08
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SmartNewsExcelExportVO {
    //智慧校园新闻（自增ID）
    @ExcelProperty("新闻ID")
    private Long sysNewsId;
    //智慧校园新闻标头
    @ExcelProperty("新闻标题")
    private String sysNewsTitle;
    //智慧校园新闻描述
    @ExcelProperty("新闻描述")
    private String sysNewsDescription;
    //智慧校园新闻图片
    @ExcelProperty("新闻图片")
    private String sysNewsPic;
    //智慧校园新闻类型
    @ExcelProperty("新闻类型")
    private Integer sysNewsType;
    @ExcelProperty("新闻创建者")
    private String sysNewsCreaterUserName;
    //智慧校园新闻创建时间
    @ExcelProperty("新闻创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sysNewsCreateTime;
    //智慧校园新闻修改时间
    @ExcelProperty("新闻修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sysNewsUpdateTime;
}
